package com.example.bigdata.mapper;


import com.example.bigdata.model.ShopGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author jie
 * @date 2021/4/27 -14:13
 */
@Mapper
public interface ShopGoodsMapper {


    @Select("select * from ims_ewei_shop_goods where  updateflag = 1 order by operationtime asc limit 1")
    ShopGoods getOneByOperationTimeDesc();

    int updateForTimer(@Param("id") String id);
}
